import org.apache.log4j.Logger;

public class Entity {
	public Entity(String attr, String property, String source) {
		super();
		this.attr = attr;
		this.property = property;
		this.source = source;
	}

	/**
	 * Logger for this class
	 */
	private static final Logger logger = Logger.getLogger(Entity.class);

	String attr;
	String property;
	String source;

	public String getAttr() {
		if (logger.isDebugEnabled()) {
			logger.debug("getAttr() - start");
		}

		if (logger.isDebugEnabled()) {
			logger.debug("getAttr() - end");
		}
		return attr;
	}

	public void setAttr(String attr) {
		if (logger.isDebugEnabled()) {
			logger.debug("setAttr(String) - start");
		}

		this.attr = attr;
		if (logger.isDebugEnabled()) {
			logger.debug("setAttr(String) - end");
		}
	}

	public String getProperty() {
		if (logger.isDebugEnabled()) {
			logger.debug("getProperty() - start");
		}

		if (logger.isDebugEnabled()) {
			logger.debug("getProperty() - end");
		}
		return property;
	}

	public void setProperty(String property) {
		if (logger.isDebugEnabled()) {
			logger.debug("setProperty(String) - start");
		}

		this.property = property;
		if (logger.isDebugEnabled()) {
			logger.debug("setProperty(String) - end");
		}
	}

	public String getSource() {
		if (logger.isDebugEnabled()) {
			logger.debug("getSource() - start");
		}

		if (logger.isDebugEnabled()) {
			logger.debug("getSource() - end");
		}
		return source;
	}

	public void setSource(String source) {
		if (logger.isDebugEnabled()) {
			logger.debug("setSource(String) - start");
		}

		this.source = source;
		if (logger.isDebugEnabled()) {
			logger.debug("setSource(String) - end");
		}
	}
}
